
#ifndef DRMSDI_H
#define DRMSDI_H



#include <QWidget>
#include <QThread>
#include <QStringList>

#include "ldCommon.h"
#include "drm_display.h"


class ldDRMSDI : public QThread
{
    Q_OBJECT
public:
    explicit  ldDRMSDI(QObject *parent);
    ~ldDRMSDI();

    int     GetFps() {int nRes = m_nFps; m_nFps = 0; return nRes; }
    void    run() override ;
    void    Stop();

signals:

public slots:
    void OnRecNewFrame(stVFrame*  pNewFrame);

private:

    uint8_t*      m_pOutSDIData;

    QObject*            m_parent;
    QString             m_AppPath;
    volatile int        m_nFps;
    volatile  qint32    m_ThreadRun;
};




#endif // DRMOUT_H
